home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr23
/
tlxtw204.zip
/
DOS.SLT
< prev
next >
Wrap
Text File
|
1995-01-21
|
544b
|
25 lines
// dos.slc
// Returns to the Telix directory after shelling to DOS.
//
// If the capture file is open it will be closed during the shell, then returned
// to its original state after returning to Telix.
main()
{
str cap[64];
int flag;
cap = _capture_fname;
if((flag = capture_stat())>0)
capture("*close*");
dos("",0);
//newdir( _telix_dir );
if(flag == 1)
capture(cap);
else if (flag == 2) {
capture(cap);
capture("*pause*");
}
_scr_chk_key = 1;
}